package com.ljkj.common.db.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the zjf_goods_activity database table.
 * 
 */
@Entity
@Table(name="zjf_goods_activity")
@NamedQuery(name="ZjfGoodsActivity.findAll", query="SELECT z FROM ZjfGoodsActivity z")
public class ZjfGoodsActivity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="activity_id")
	private String activityId;

	@Column(name="activity_begin_time")
	private String activityBeginTime;
	@Column(name="activity_img")
	private String activityImg;
	@Column(name="activity_content")
	private String activityContent;

	@Column(name="activity_end_time")
	private String activityEndTime;

	@Column(name="activity_name")
	private String activityName;

	@Column(name="activity_price")
	private BigDecimal activityPrice;

	@Column(name="create_time")
	private String createTime;

	@Column(name="create_user")
	private String createUser;

	@Column(name="disabled_state")
	private Integer disabledState;
	@Column(name="status")
	private Integer status;
	@Column(name="update_time")
	private String updateTime;

	@Column(name="update_user")
	private String updateUser;
	@Column(name="discount")
	private String discount;
	
	public ZjfGoodsActivity() {
	}

	public Integer getStatus() {
		return status;
	}

	public String getActivityImg() {
		return activityImg;
	}

	public void setActivityImg(String activityImg) {
		this.activityImg = activityImg;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getActivityId() {
		return this.activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public String getActivityBeginTime() {
		return this.activityBeginTime;
	}

	public void setActivityBeginTime(String activityBeginTime) {
		this.activityBeginTime = activityBeginTime;
	}

	public String getActivityContent() {
		return this.activityContent;
	}

	public void setActivityContent(String activityContent) {
		this.activityContent = activityContent;
	}

	public String getActivityEndTime() {
		return this.activityEndTime;
	}

	public void setActivityEndTime(String activityEndTime) {
		this.activityEndTime = activityEndTime;
	}

	public String getActivityName() {
		return this.activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public BigDecimal getActivityPrice() {
		return this.activityPrice;
	}

	public void setActivityPrice(BigDecimal activityPrice) {
		this.activityPrice = activityPrice;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getDisabledState() {
		return this.disabledState;
	}

	public void setDisabledState(Integer disabledState) {
		this.disabledState = disabledState;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public ZjfGoodsActivity setNewObject(ZjfGoodsActivity zjfGoodsActivity){
		ZjfGoodsActivity zjfGoodsActivityNew=new ZjfGoodsActivity();
		zjfGoodsActivityNew.setActivityId(zjfGoodsActivity.getActivityId());
		zjfGoodsActivityNew.setActivityName((zjfGoodsActivity).getActivityName());
		zjfGoodsActivityNew.setActivityImg((zjfGoodsActivity).getActivityImg());
		zjfGoodsActivityNew.setDiscount((zjfGoodsActivity).getDiscount());
		return zjfGoodsActivityNew;
	}
}